#include "GameObject.h"
bool PhysicComponent::init()
{
	mBody = new SimpleVehicle();
	if(mBody)
		return true;
	else 
		return false;
}
SimpleVehicle* PhysicComponent::getBody() const
{
	return mBody;
}
void AIComponent::connectWithPhysic(PhysicComponent* component)
{
	mVehicle = component->getBody();
	auto* steering = new Seek();
	mSteering = steering;
}
GameObject::GameObject(void)
{

}


GameObject::~GameObject(void)
{
}